package com.dsc.feign;

import com.dsc.config.ProviderFeign2Configuration;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "dubbo-spring-cloud-rest-provider")
public interface FeignProviderService {

    @GetMapping("/feign/hi")
    public String sayHello(@RequestParam("params") String params);

}
